package com.michaelbulava.TFS.common.framework.command;

import com.intellij.openapi.progress.ProgressIndicator;

/**
 * Created by mbulava on 5/6/2015.
 */
public abstract interface ICommand {

    public abstract void run(ProgressIndicator indicator) throws Exception;

    public abstract boolean isCancellable();

    public abstract String getName();

    public abstract String getErrorDescription();

    public abstract String getLoggingDescription();

    //public abstract ICommandExceptionHandler getExceptionHandler();
}
